package com.example.app.handler;

import net.sf.calibur.engine.Event;
import net.sf.calibur.engine.task.Task;

import com.example.app.CommandHandler;

public class MissionCommandHandler extends CommandHandler {
	public MissionCommandHandler() {
		super("MissionCommandHandler");
		
		addTask(new Task(3000) {
			@Override
			public void execute(Event event) throws Exception {
				logger.info("指令3000的处理");
			}
		});
		
		addTask(new Task(4000) {
			@Override
			public void execute(Event event) throws Exception {
				logger.info("指令4000的处理");
			}
		});
	}

}
